package com.cap.bts.crmdp.webservice.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.dom4j.Document;

import com.cap.bts.crmdp.dealer.mars.dto.ItemTypeInfoDto;

public class MarsResultDto implements Serializable{

	/**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private boolean successFlag;
    
    private String statusCode;
    
    private String resultMessage;
    
    private Document document;
    
    private List<ItemTypeInfoDto> itemList = new ArrayList<ItemTypeInfoDto>(0);
    
  

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(String resultMessage) {
        this.resultMessage = resultMessage;
    }

	public Document getDocument() {
		return document;
	}

	public void setDocument(Document document) {
		this.document = document;
	}

	public List<ItemTypeInfoDto> getItemList() {
		return itemList;
	}

	public void setItemList(List<ItemTypeInfoDto> itemList) {
		this.itemList = itemList;
	}

	public boolean getSuccessFlag() {
		successFlag = "1".equals(statusCode);
		return successFlag;
	}

	public void setSuccessFlag(boolean successFlag) {
		this.successFlag = successFlag;
	}
    
	
	
    
	
	
}
